using System;
using System.Collections.Generic;
using System.Text;
using IGGCore;

namespace IGGConsole
{
    /// <summary>
    /// Display an historic fact to the console screen
    /// </summary>
    public class ModeHistoryFormatter : IModeFormatter
    {
        #region IModeFormatter Members

        /// <summary>
        /// Format the history tidbit
        /// </summary>
        public void FormatMode(Scoreboard board)
        {
            Console.WriteLine();
            StringFormatter.FormatLongText(board.History[0]);
            Console.WriteLine();
        }

        #endregion
    }
}
